package com.holyant.goods.dto.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.QueryDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 分销商品实体 gds_distribution_goods
 * 
 * @author z
 * @date 2022-07-15
 */
@Data
@ApiModel("分销商品")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GdsDistributionGoodsQueryDto extends QueryDto {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "店铺id")
    private Long shopId;
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
    /** 来源平台 */
    @ApiModelProperty(value = "来源平台")
    private String platform;
    /** 渠道 */
    @ApiModelProperty(value = "渠道")
    private String channel;
    /** 业务类型*/
    private Integer busiType;
    /** 商家sku */
    @ApiModelProperty(value = "商家sku")
    private String sellerSku;
    /** 平台sku */
    @ApiModelProperty(value = "平台sku")
    private String platformSku;
    @ApiModelProperty(value = "商家sku")
    private String sellerSkuLike;
    /** 平台sku */
    @ApiModelProperty(value = "平台sku")
    private String platformSkuLike;
    /** 商品名称 */
    @ApiModelProperty(value = "商品名称")
    private String goodsName;
    /** 品牌id */
    @ApiModelProperty(value = "品牌id")
    private Long brandId;
    /** 品牌 */
    @ApiModelProperty(value = "品牌")
    private String brandName;
    /** 分类id */
    @ApiModelProperty(value = "分类id")
    private Long categoryId;
    /** 商品分类 */
    @ApiModelProperty(value = "商品分类")
    private String categoryName;
    private String state;
    /** 采购价 */
    @ApiModelProperty(value = "采购价")
    private BigDecimal purPrice;
    /** 币种 */
    @ApiModelProperty(value = "币种")
    private String currency;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime quoteTimeStart;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime quoteTimeEnd;
    // 处于该时间的商品信息
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime historyTime;
    /** $column.columnComment */
    @ApiModelProperty(value = "币种")
    private Long ver;
}
